var gulp=require("gulp");
var uglify=require("gulp-uglify");
var connect=require("gulp-connect");
var sass=require("gulp-ruby-sass");

gulp.task("min",function(){
	gulp.src("./js/jquery-1.11.3.js").pipe(uglify()).pipe(gulp.dest("./js/bbc"))
})
gulp.task("css",function(){
	gulp.src("./css/*.css").pipe(connect.reload());
})
gulp.task("compileSass",function(){
	sass("./**/*.scss",{
		style: expanded
	}).pipe(gulp.dest("./css"));
});
gulp.task("watch",function(){
	connect.server({
		livereload:true
	});
	gulp.watch("./css/*.css",["css"]);
})
